package org.example.workbench.service;

import org.example.workbench.domain.Contacts;
import org.example.workbench.domain.Customer;

import java.util.List;
import java.util.Map;

public interface CustomerService {
    List<Customer> getCustomerByName(String name);
    int insertOneCustomerByMap(Map<String,Object> map);
    List<Contacts> getAllCustomerByMap(Map<String,Object> map);
    int getCustomerTotalCountByMap(Map<String,Object> map);
    Customer getCustomerById(String id);
    int updateOneCustomerByMap(Map<String,Object> map);
    int deleteCustomerByIds(String[] id);
    Customer getCustomerDetailById(String id);
    Customer getCustomerDetailByName(String name);
}
